
One of the most fundamental aspects of any software is the ability to share data between different systems, typically using a well defined API. When dealing with websites and user-generated information, this can get quite complex and critical, especially when validating data being imported into a content management system for a public-facing website. In this context, the details matter.
However, we don’t always want to write custom code for every single source from which we want to import content. What if we provided a no-code API endpoint generator that
was aware of the schema, structure, types, and validation rules of our content management system, allowed for mapping of the incoming data, and would run at scale in a serverless environment?
In this talk we’ll look at a real-world example of how I solved this exact problem, using Typescript, GCP, and Express. We’ll look at the full solution from the UX of the data mapping tool to the validation engine that evaluates the data before writing the correct content entries in the correct environment.